#!/usr/bin/python
# -*- coding: UTF-8 -*-


import sys
import urllib
import urllib.request

""" 
@version: 1.0
@author: jin.li.o
@license: Apache Licence 
@contact: x.leevin@gmail.com
@software: PyCharm
@file: http.py
@time: 2018/10/29
"""

print(sys.path)

url = 'http://yapi.demo.qunar.com/mock/13482/testGetReq'

res = urllib.request.urlopen(url)
print(res.read().decode())
